package com.ifast.integral.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@TableName("TB_INTEGRAL_USER")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class IntegralUser implements Serializable {
	
	private static final long serialVersionUID = -4829274921048665325L;
	/** 主键 */
    @TableId(type= IdType.UUID)
    private String id;
    /**总分*/
    private Integer total;
    
    private String dwCode;
    
    private String userId;
    /**今日累计积分*/
    @TableField(exist = false)
    private Integer todayToal;
    
    /**创建时间*/
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    /**创建人*/
    @TableField(fill = FieldFill.INSERT)
    private String createId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
    
}
